.bd-reload {
    cursor: pointer;
    vertical-align: top;
    fill: #DCDDDE;
}

.bd-reload:hover {
    fill: #FFFFFF;
}

.bd-reload-header {
    margin-left: 5px;
}

.bd-reload-card {
    margin-right: 5px;
}

.bd-controls,
.bd-controls-basic,
.bd-controls-advanced {
    display: flex;
}

.bd-addon-list {
    user-select: text;
}

.bd-addon-list.bd-grid-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    row-gap: 10px;
}

.bd-addon-list .bd-addon-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    background: var(--background-base-lower);
}

.bd-addon-list.bd-grid-view .bd-addon-card {
    margin-bottom: 0;
}

.bd-addon-list .bd-addon-header {
    color: var(--header-primary);
    background: var(--background-base-lowest);
    padding: 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.bd-addon-header .bd-icon {
    margin-right: 8px;
    fill: var(--header-primary);
}

.disabled .bd-addon-header .bd-icon {
    fill: red;
}

.bd-title,
.bd-name,
.bd-meta {
    display: inline;
    line-height: normal;
}

.bd-title {
    flex: 1;
    min-width: 0;
}

.bd-meta {
    color: var(--channels-default);
    font-weight: 500;
}

.bd-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    gap: 4px;
}

.bd-name::after,
.bd-version::after {
    display: inline;
    content: " ";
}

.bd-grid-view .bd-title {
    display: flex;
    flex-direction: column;
}

.bd-grid-view .bd-meta {
    font-size: 12px;
}

.bd-description-wrap {
    flex: 1;
    padding: 8px 16px 0 16px;
}

.bd-description-wrap .banner {
    padding: 5px;
    border: 2px solid gray;
    background: #26191E;
    color: #ffffff;
    font-weight: 700px;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.banner.banner-danger {
    border-color: #F04747;
    background: #473C41;
}

.banner .bd-icon {
    fill: #ffffff;
    margin-right: 5px;
    height: 16px !important;
}

.banner-danger .bd-icon {
    fill: #F04747;
}

.bd-addon-list .bd-description {
    word-break: break-word;
    margin-bottom: 5px;
    padding: 5px 0;
    overflow-y: auto;
    max-height: 175px;
    font-size: 14px;
    line-height: 18px;
    -webkit-line-clamp: 3;
    color: var(--header-secondary);
}

.bd-description em {
    font-style: italic;
}

.bd-description code {
    padding: 0.2em;
    margin: -0.2em 0;
    border-radius: 3px;
    font-size: 85%;
    line-height: 1.125rem;
    white-space: pre-wrap;
    background: var(--background-base-lowest);
}

.bd-addon-list .scroller::-webkit-scrollbar-track-piece,
.bd-addon-list .scroller::-webkit-scrollbar-thumb {
    border-radius: 0 !important;
    border-color: transparent;
}

.bd-addon-list .bd-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 16px 16px;
    overflow: hidden;
}

.bd-controls > .bd-addon-button {
    border-radius: 0;
    padding: 4px 6px;
}

.bd-links .bd-addon-button:not(:first-child) {
    margin-left: 10px;
}

.bd-controls > .bd-addon-button svg {
    fill: #FFFFFF;
}

.bd-controls > .bd-addon-button:first-of-type {
    border-radius: 3px 0 0 3px;
}

.bd-controls > .bd-addon-button:last-of-type {
    border-radius: 0 3px 3px 0;
}

.bd-controls > .bd-addon-button:only-child {
    border-radius: 3px;
}

.bd-controls + .bd-addon-list {
    margin-top: 10px;
}

.bd-addon-controls {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.bd-settings-title .bd-search {
    font-size: 13px;
    margin: 0;
    width: 200px;
}

.bd-addon-dropdowns {
    display: flex;
}

/* Error Boundary stuff */
.react-error {
    color: red;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.settings-open .bd-close {
    cursor: pointer;
    float: right;
}

.bd-addon-modal {
    min-height: 0;
}

.bd-addon-modal-settings {
    /* padding: 16px; */
    padding: 0 16px 16px 16px;
}

.bd-addon-modal-footer .bd-button {
    background-color: #3E82E5;
}

.bd-addon-modal-footer .bd-button:hover {
    background-color: rgb(56, 117, 206);
}

.bd-addon-modal-footer .bd-button:active {
    background-color: rgb(50, 104, 183);
}

.bd-addon-views {
    display: flex;
    margin-left: 10px;
}

.bd-addon-controls .bd-button {
    background-color: transparent;
    padding: 3px 4px;
}

.bd-addon-controls .bd-button svg {
    fill: var(--interactive-normal);
}

.bd-addon-controls .bd-button.selected svg {
    fill: #FFFFFF;
}

.bd-addon-controls .bd-button:hover {
    background-color: var(--background-modifier-selected);
}

.bd-addon-controls .bd-button:active {
    background-color: var(--app-border-frame);
}

.bd-addon-controls .bd-button.selected {
    background-color: #3E82E5;
}

.bd-addon-controls .bd-button + .bd-button {
    margin-left: 5px;
}

.bd-controls-basic .bd-button:active svg {
    fill: #FFFFFF;
}

.bd-controls-basic .bd-button:active {
    background-color: #3E82E5;
}

.bd-addon-list .bd-footer .bd-links,
.bd-addon-list .bd-footer .bd-links a,
.bd-addon-list .bd-footer .bd-addon-button {
    display: flex;
    align-items: center;
}

.bd-addon-list .bd-footer .bd-link {
    color: var(--interactive-normal);
}

.bd-addon-list .bd-footer .bd-link:hover {
    color: var(--interactive-hover);
}

.bd-addon-list .bd-footer .bd-link:active {
    color: var(--interactive-active);
}

.bd-addon-list .bd-footer .bd-link svg {
    fill: currentColor;
}

.bd-addon-list .bd-footer .bd-links .bd-addon-button {
    height: 24px;
}

/* The store card */
.bd-store-card {
    padding: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--background-base-lower);
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin: 10px 0;
}
.bd-store-card-icon {
    border-radius: 50%;
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: var(--background-base-lowest);
    color: var(--interactive-normal);
    padding: 8px;
}
.bd-store-card-body {
    flex-grow: 1;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 12px;
}
.bd-store-card-caret {
    color: var(--interactive-normal);
}